package com.bytenebula.asteroid.entity;

import com.mybatisflex.annotation.Table;

import java.io.Serial;
import java.sql.Timestamp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *  实体类。
 *
 * @author patrick
 * @since 2024-10-21
 */
@Data
@Builder
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(value = "bn_jdbc_driver", dataSource = "bytenebula")
public class BnJdbcDriver extends BnEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    private String driverName;
    private String driverType;
    private String driverPath;
    private String className;
    private Integer defaultPort;
    private String urlTemplate;
    private String urlSplitStr;
    private String driverIcon;
    private Timestamp createTime;
    private Integer createUserId;
}
